﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Production_Modules
{
    /// <summary>
    /// 物料入库申请单
    /// </summary>
    [Table("materialoutaskinfo")]
    public class MaterialOutAskModel:AuditEntity
    {
        /// <summary>
        /// 入库申请单号
        /// </summary>
        public string OutAskCode { get; set; }
        /// <summary>
        /// 采购单号
        /// </summary>
        public string PurchaseOrderCode { get; set; }
        /// <summary>
        /// 入库物料外键
        /// </summary>
        public long ProductMaterialsId { get; set; }
        /// <summary>
        /// 入库物料名称
        /// </summary>
        public string ProductMaterialsName { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public long OutAskCount { get; set; }
        /// <summary>
        /// 入库申请描述
        /// </summary>
        public string OutAskDesc { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string VendorName    { get; set; }
        /// <summary>
        /// 入库状态（0：已发布，1已入库）
        /// </summary>
        public int Status { get; set; }
    }
}
